package updown.dao;


import updown.domain.ServerHost;

import java.util.List;

/**
 * <p>Title: com.damai.downupservice.dao </p>
 * <p>Description:updown: -  </p>
 *
 * @Author:jiangkaixin
 * @Date:2021/11/5
 * @Version: 1.0
 */
public interface ServerHostDao {
    ServerHost getByHostName(String hostName);

    ServerHost getServerHostNameOrIP(String hostOrIP);

    void add(ServerHost serverHost);

    List<ServerHost> getAll();
}
